
import request from '@/utils/request'
import { baseUrl } from '@/config/env';

//获取图表数据
export const lastData = (deviceNo) => {
  	return request({
	    url: baseUrl+'/rest/deviceData/lastData',
	    method: 'get',
	    params: {
	      	deviceNo
	    }
  	})
}